# Contributor: Sergiy Stupar <owner@sestolab.pp.ua>
# Maintainer: Sergiy Stupar <owner@sestolab.pp.ua>
pkgname=azpainter
pkgver=3.0.7
pkgrel=0
pkgdesc="Paint software for editing illustrations and images"
url="http://azsky2.html.xdomain.jp"
arch="all"
license="GPL-3.0-or-later"
makedepends="
	fontconfig-dev
	freetype-dev
	libpng-dev
	libx11-dev
	libxcursor-dev
	libxext-dev
	libxi-dev
	tiff-dev
	samurai
	"
subpackages="$pkgname-doc"
source="$pkgname-v$pkgver.tar.gz::https://gitlab.com/azelpg/azpainter/-/archive/v$pkgver/azpainter-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # No tests

build() {
	./configure --prefix=/usr
	samu -C build
}

package() {
	DESTDIR="$pkgdir" samu -C build install
}

sha512sums="
68002777fa9df7bac78d6d99231400ceb9ca89a0fb7233f5abe90d2c376746d4a56e38c663fecdc07daf84a27b7fb43190efc8be6282611ba87b683d3851ec2e  azpainter-v3.0.7.tar.gz
"
